import request from '@/utils/request'

function search(data){
  return request({
    url:'/videos/show/queryAll/'+data,
    method:'get'
  })
} 

function getHots(data){
  return request({
    url:'videos/show/hots',
    method:'get'
  })
} 
export default { search, getHots }